package com.aqie.easy.structure;

public class NewNode {
    public int val;
    public int key;
    public NewNode left;
    public NewNode right;
    /**
     * 节点高度,高度是指节点到一片树叶的最长路径的长
     */
    public int height;
    public NewNode(int key,int val) {
        this.val = val;
        this.key = key;
        height = 1;
    }
}
